#ifndef RECEIVETHREAD_H
#define RECEIVETHREAD_H

#include <QThread>

class ReceiveThread : public QThread
{
    Q_OBJECT
public:
    explicit ReceiveThread(QObject *parent = 0);
    void run();
    void enStopFlag();
    void disStopFlag();
    void enBaudChanged_flag();

    int fd;
    int stop_flag;
    char buff[100];
    int baudChanged_flag;

signals:
    void sendbuff(QString );

public slots:

};

#endif // RECEIVETHREAD_H
